package com.takeaway.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class ProductInfo {
    @ApiModelProperty(value = "商品id")
    private String productId;
    @ApiModelProperty(value = "商品名称")
    private String productName; //商品名称
    @ApiModelProperty(value = "单价")
    private String productPrice;//单价
    @ApiModelProperty(value = "库存")
    private int productStock; // 库存
    @ApiModelProperty(value = "描述")
    private String productDescription; //描述
    @ApiModelProperty(value = "产品图片")
    private String productIcon; //小图
    @ApiModelProperty(value = "商品状态 0正常 1下架")
    private int productStatus; //商品状态 0正常 1下架
    @ApiModelProperty(value = "类目编号")
    private int categoryType;//类目编号
    @ApiModelProperty(value = "创建时间")
    private Date createTime;//创建时间
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;//修改时间
}
